<link href="/Public/Home/css/msg.css" rel="stylesheet" type="text/css" />

<link href="/Public/Home/css/member.css" rel="stylesheet" type="text/css" media="screen" />
{include file='../Public/header.tpl'}
<style>
	.mainbt a{
		text-align:center;
		color:#000000;
		text-decoration:none;
	}
	#butt{
		text-align:center;
		line-height:24px;
		display:inline-block;
		border-radius:4px;
		cursor:pointer;
		width:80px;
		height:24px;
		background-color:#99eeff;
	}
</style>
<div class="content">
	<div class="menu">当前位置: <span><a href=".">首页</a> <code>&gt;</code> 用户中心</span></div>	
	<div class="user">

		<div class="usernav">
	<dl>
		<dt><span>　</span>帐户管理</dt>
		<dd class="ddor">
			<a href="/index.php/Home/Member/order_list">我的订单</a>
		</dd>
		<dd >

			<a href="/index.php/Home/Member/message_list">我的留言</a>
		</dd>
		<dd>
			<a href="/index.php/Home/Member/collection_list">我的收藏</a>
		</dd>
	</dl>
	<dl>
		<dt><span>　</span>个人信息管理</dt>

		<dd >
			<a href="/index.php/Home/Member/profile">用户信息</a>
		</dd>
		<dd >
			<a href="/index.php/Home/Member/editpwd">修改密码</a>
		</dd>
		<dd >
			<a href="/index.php/Home/Member/address_list">收货地址</a>

		</dd>
	</dl>
</div>		
<div class="usermain">	
	<div class="userright">
				<div class="mainbt">我的留言&nbsp;&nbsp;&nbsp;&nbsp;<span id='butt'><a href="/index.php/Home/Member/messageadd">添加新留言</a></span></div>				
{foreach from=$messageData item=val}

		<dl class="contentlist">
			<div class="contentlist_top">
				<div class="contentorder">序号：{$val.id}</div>
                <div class="contenttitle">标题：{$val.title}</div>
                <div class="contenttime">时间：{date('Y-m-d H:i:s',$val.mtime)}</div>
                <div class="contenttpye_">类型：{$val.cate}</div>
             </div>
             <div class="contentshow">{$val.content}</div>
        </dl>
{/foreach}
    </div>
				</div>	  
				
		<div class="clear"></div>		
	</div>
</div>

{include file='../Public/footer.tpl'}